import fetch from 'common/src/utils/fetch';
/**
 * 查询学生录取时间
 * @param {*} params 
 */
export function getListScStudentRegistration(params) {
  let query = '?type=' + params
  return fetch({
    url: '/api/cultureservice/ScRegisterTimeInfo/getStrengthenClassInfo' + query,
    method: 'get'
  })
}
/**
 * 学生报名
 * @param {*} template 
 */
export function addScStudentRegistration(template) {
  return fetch({
    url: '/api/cultureservice/ScAdmStuRel',
    method: 'post',
    data: template
  })
}
/**
 * 取消学生报名
 */
export function deleteScStudentRegistration(template) {
  return fetch({
    url: '/api/cultureservice/ScAdmStuRel',
    method: 'delete',
    data: template
  })
}